﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MenuMaster.Master" AutoEventWireup="true" CodeBehind="salegoods.aspx.cs" Inherits="QunYing.Web.market.salegoods" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
 <script type="text/javascript">
       $(function() {
           $("#nav_main a[href='salegoods.aspx']").addClass("nav_current");
       });
    </script>
        <style>
    .pager
    {
        text-align:right;
        line-height: 16px;
margin: 5px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="index_box">
        <h2>
           <span><strong>特价</strong>专区</span></h2>
           <div class="pager">  <asp:HyperLink ID="lnkUp" runat="server">上一页</asp:HyperLink>
        <asp:HyperLink ID="lnkDown" runat="server">下一页</asp:HyperLink>
        <asp:Label ID="lbl_info" runat="server" Text="当前第x页,共x页"></asp:Label>
        </div>
             <asp:Repeater ID="SaleRepeater" runat="server">
           <HeaderTemplate><ul></HeaderTemplate>
           <ItemTemplate> <li><a href="saledetail.aspx?id=<%#Eval("商品ID")%>" class="goods_pic" title="<%#Eval("商品名称")%>"><img src="<%#Eval("商品图片")%>"  width="140" height="100" /></a>
            <a href="saledetail.aspx?id=<%#Eval("商品ID")%>" class="goods_title"><%#Eval("商品名称")%></a><br/>
            <span class="goods_oldprice"> 原价：<span>￥<%# Convert.ToDecimal(Eval("原价")).ToString("f2")%></span></span><br/>
            <span class="goods_price"> 现价：<span>￥<%# Convert.ToDecimal(Eval("现价")).ToString("f2")%></span></span></li></ItemTemplate>
           <FooterTemplate></ul></FooterTemplate>
           </asp:Repeater>
           <div class="pager">  <asp:HyperLink ID="lnkUp2" runat="server">上一页</asp:HyperLink>
        <asp:HyperLink ID="lnkDown2" runat="server">下一页</asp:HyperLink>
        <asp:Label ID="lbl_info2" runat="server" Text="当前第x页,共x页"></asp:Label>
        </div>
      </div>
</asp:Content>
